var APP=APP||{};APP.main=webpackJsonpAPP__name_([1],{208:function(t,e,n){"use strict";!function(t){var e="data-highlighted",n="data-timestamp",i={ELEMENT_NODE:1,TEXT_NODE:3},a=["SCRIPT","STYLE","SELECT","OPTION","BUTTON","OBJECT","APPLET","VIDEO","AUDIO","CANVAS","EMBED","PARAM","METER","PROGRESS"];function r(t,e){return s(t).color()===s(e).color()}function o(t,e){for(var n in t=t||{},e)e.hasOwnProperty(n)&&void 0===t[n]&&(t[n]=e[n]);return t}function l(t,e){t.sort(function(t,n){return s(e?n:t).parents().length-s(e?t:n).parents().length})}var s=function t(e){return{addClass:function(t){e.classList?e.classList.add(t):e.className+=" "+t},removeClass:function(t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t+"(\\b|$)","gi")," ")},prepend:function(t){for(var n=Array.prototype.slice.call(t),i=n.length;i--;)e.insertBefore(n[i],e.firstChild)},append:function(t){for(var n=Array.prototype.slice.call(t),i=0,a=n.length;i0&&(n=i.getRangeAt(0)),n},removeAllRanges:function(){t(e).getSelection().removeAllRanges()},removeRange:function(n){t(e).getSelection().removeRange(n)},getSelection:function(){return t(e).getWindow().getSelection()},getWindow:function(){return t(e).getDocument().defaultView},getDocument:function(){return e.ownerDocument||e}}};function c(t,e){if(!t)throw"Missing anchor element";var n,i;this.el=t,this.options=o(e,{color:"#ffff7b",underline:null,crossed:null,highlightedClass:"highlighted",contextClass:"highlighter-context",onRemoveHighlight:function(){return!0},onBeforeHighlight:function(){return!0},onAfterHighlight:function(){}}),s(this.el).addClass(this.options.contextClass),n=this.el,i=this,n.addEventListener("mouseup",i.highlightHandler.bind(i)),n.addEventListener("touchend",i.highlightHandler.bind(i)),n.addEventListener("touchcancel",i.highlightHandler.bind(i))}c.prototype.destroy=function(){var t,e;t=this.el,e=this,t.removeEventListener("mouseup",e.highlightHandler.bind(e)),t.removeEventListener("touchend",e.highlightHandler.bind(e)),t.removeEventListener("touchcancel",e.highlightHandler.bind(e)),s(this.el).removeClass(this.options.contextClass)},c.prototype.highlightHandler=function(t){2===t.detail?/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&this.doHighlight():this.doHighlight()},c.prototype.doHighlight=function(t){var e,i,a,r,o=s(this.el).getRange();o&&!o.collapsed&&!0===this.options.onBeforeHighlight(o)&&(r=+new Date,(e=c.createWrapper(this.options)).setAttribute(n,r),i=this.highlightRange(o,e),a=this.normalizeHighlights(i),this.options.onAfterHighlight(o,a,r),s(this.el).removeRange(o))},c.prototype.highlightRange=function(t,n){if(!t||t.collapsed)return[];var r,o,l,c=function(t){var e=t.startContainer,n=t.endContainer,a=t.commonAncestorContainer,r=!0;if(0===t.endOffset){for(;!n.previousSibling&&n.parentNode!==a;)n=n.parentNode;n=n.previousSibling}else n.nodeType===i.TEXT_NODE?t.endOffset0&&(n=n.childNodes.item(t.endOffset-1));return e.nodeType===i.TEXT_NODE?t.startOffset===e.nodeValue.length?r=!1:t.startOffset>0&&n===(e=e.splitText(t.startOffset)).previousSibling&&(n=e):e=t.startOffset-1&&(h.parentNode===g&&(f=!0),u=!1),u&&g.hasChildNodes()?g=g.firstChild:g.nextSibling?(g=g.nextSibling,u=!0):(g=g.parentNode,u=!1)}while(!f);return p},c.prototype.normalizeHighlights=function(t){var e;return this.flattenNestedHighlights(t),this.mergeSiblingHighlights(t),e=t.filter(function(t){return t.parentElement?t:null}),(e=e.filter(function(t,e,n){return n.indexOf(t)===e})).sort(function(t,e){return t.offsetTop-e.offsetTop||t.offsetLeft-e.offsetLeft}),e},c.prototype.flattenNestedHighlights=function(t){var e,n=this;function i(){var e=!1;return t.forEach(function(i,a){var o=i.parentElement,l=o.previousSibling,c=o.nextSibling;n.isHighlight(o)&&(r(o,i)?(o.replaceChild(i.firstChild,i),t[a]=o,e=!0):(i.nextSibling||(s(i).insertBefore(c||o),e=!0),i.previousSibling||(s(i).insertAfter(l||o),e=!0),o.hasChildNodes()||s(o).remove()))}),e}l(t,!0);do{e=i()}while(e)},c.prototype.mergeSiblingHighlights=function(t){var e=this;function n(t,n){return n&&n.nodeType===i.ELEMENT_NODE&&r(t,n)&&e.isHighlight(n)}t.forEach(function(t){var e=t.previousSibling,i=t.nextSibling;n(t,e)&&(s(t).prepend(e.childNodes),s(e).remove()),n(t,i)&&(s(t).append(i.childNodes),s(i).remove()),s(t).normalizeTextNodes()})},c.prototype.setColor=function(t){this.options.color=t},c.prototype.getColor=function(){return this.options.color},c.prototype.setUnderline=function(t){this.options.underline=t},c.prototype.getUnderline=function(){return this.options.underline},c.prototype.setCrossed=function(t){this.options.crossed=t},c.prototype.getCrossed=function(){return this.options.crossed},c.prototype.removeHighlights=function(t){var e=t||this.el,n=this.getHighlights({container:e}),a=this;function r(t){s(t).unwrap().forEach(function(t){var e,n,a;n=(e=t).previousSibling,a=e.nextSibling,n&&n.nodeType===i.TEXT_NODE&&(e.nodeValue=n.nodeValue+e.nodeValue,s(n).remove()),a&&a.nodeType===i.TEXT_NODE&&(e.nodeValue=e.nodeValue+a.nodeValue,s(a).remove())})}l(n,!0),n.forEach(function(t){!0===a.options.onRemoveHighlight(t)&&r(t)})},c.prototype.getHighlights=function(t){var i=(t=o(t,{container:this.el,andSelf:!0,grouped:!1})).container.querySelectorAll("["+e+"]"),a=Array.prototype.slice.call(i);return!0===t.andSelf&&t.container.hasAttribute(e)&&a.push(t.container),t.grouped&&(a=function(t){var e=[],i={},a=[];return t.forEach(function(t){var a=t.getAttribute(n);void 0===i[a]&&(i[a]=[],e.push(a)),i[a].push(t)}),e.forEach(function(t){var e=i[t];a.push({chunks:e,timestamp:t,toString:function(){return e.map(function(t){return t.textContent}).join("")}})}),a}(a)),a},c.prototype.isHighlight=function(t){return t&&t.nodeType===i.ELEMENT_NODE&&t.hasAttribute(e)},c.prototype.serializeHighlights=function(){var t=this.getHighlights(),e=this.el,n=[];return l(t,!1),t.forEach(function(t){var a=0,r=t.textContent.length,o=function(t,e){var n,i=[];do{n=Array.prototype.slice.call(t.parentNode.childNodes),i.unshift(n.indexOf(t)),t=t.parentNode}while(t!==e||!t);return i}(t,e),l=t.cloneNode(!0);l.innerHTML="",l=l.outerHTML,t.previousSibling&&t.previousSibling.nodeType===i.TEXT_NODE&&(a=t.previousSibling.length),n.push([l,t.textContent,o.join(":"),a,r])}),JSON.stringify(n)},c.prototype.deserializeHighlights=function(t){var e,n=[],a=this;if(!t)return n;try{e=JSON.parse(t)}catch(t){throw"Can't parse JSON: "+t}return e.forEach(function(t){try{!function(t){for(var e,r,o,l={wrapper:t[0],text:t[1],path:t[2].split(":"),offset:t[3],length:t[4]},c=l.path.pop(),d=a.el;o=l.path.shift();)d=d.childNodes[o];d.childNodes[c-1]&&d.childNodes[c-1].nodeType===i.TEXT_NODE&&(c-=1),(e=(d=d.childNodes[c]).splitText(l.offset)).splitText(l.length),e.nextSibling&&!e.nextSibling.nodeValue&&s(e.nextSibling).remove(),e.previousSibling&&!e.previousSibling.nodeValue&&s(e.previousSibling).remove(),r=s(e).wrap(s().fromHTML(l.wrapper)[0]),n.push(r)}(t)}catch(t){console&&console.warn}}),n},c.prototype.find=function(t,e){var n=s(this.el).getWindow(),i=n.scrollX,a=n.scrollY,r=void 0===e||e;if(s(this.el).removeAllRanges(),n.find)for(;n.find(t,r);)this.doHighlight(!0);else if(n.document.body.createTextRange){var o=n.document.body.createTextRange();for(o.moveToElementText(this.el);o.findText(t,1,r?4:0)&&(s(this.el).contains(o.parentElement())||o.parentElement()===this.el);)o.select(),this.doHighlight(!0),o.collapse(!1)}s(this.el).removeAllRanges(),n.scrollTo(i,a)},c.createWrapper=function(t){var e=document.createElement("span");return e.style.backgroundColor=t.color,e.style.borderBottom=t.underline,e.style.textDecoration=t.crossed,e.className=t.highlightedClass,e},t.TextHighlighter=c}(window)},229:function(t,e){},25:function(t,e,n){"use strict";function i(t){var e=t;return e=(e=(e=(e=e.replace(/&/g,"&")).replace(//g,">")).replace(/"/g,""")}function a(t,e){for(var n=new Object,i=new Object,a=0;a0;a--)null!=e[a].text&&null==e[a-1].text&&e[a].row>0&&null==t[e[a].row-1].text&&e[a-1]==t[e[a].row-1]&&(e[a-1]={text:e[a-1],row:e[a].row-1},t[e[a].row-1]={text:t[e[a].row-1],row:a-1});return{o:t,n:e}}Object.defineProperty(e,"__esModule",{value:!0}),e.diffString=function(t,e){t=t.replace(/\s+$/,""),e=e.replace(/\s+$/,"");var n=a(""==t?[]:t.split(/\s+/),""==e?[]:e.split(/\s+/)),r="",o=t.match(/\s+/g);null==o?o=["\n"]:o.push("\n");var l=e.match(/\s+/g);if(null==l?l=["\n"]:l.push("\n"),0==n.n.length)for(var s=0;s"+i(n.o[s])+o[s]+"";else{if(null==n.n[0].text)for(e=0;e"+i(n.o[e])+o[e]+"";for(s=0;s"+i(n.n[s])+l[s]+"";else{var c="";for(e=n.n[s].row+1;e"+i(n.o[e])+o[e]+"";r+=" "+n.n[s].text+""+l[s]+c}}return r},e.diffString2=function(t,e){t=t.replace(/\s+$/,""),e=e.replace(/\s+$/,"");var n=a(""==t?[]:t.split(/\s+/),""==e?[]:e.split(/\s+/)),r=t.match(/\s+/g);null==r?r=["\n"]:r.push("\n");var o=e.match(/\s+/g);null==o?o=["\n"]:o.push("\n");for(var l="",s=new Array,c=0;c'+i(n.o[c].text)+""+r[c]+"":l+=""+i(n.o[c])+r[c]+"";var d="";for(c=0;c'+i(n.n[c].text)+""+o[c]+"":d+=""+i(n.n[c])+o[c]+"";return{o:l,n:d}},e.diffString3=function(t,e,n){t=t.replace(/\s+$/,""),e=e.replace(/\s+$/,""),n=n.replace(/\s+$/,"");var r=t.toLowerCase(),o=n.toLowerCase(),l=a(""==t?[]:t.split(/\s+/),""==e?[]:e.split(/\s+/)),s=a(""==r?[]:r.split(/\s+/),""==o?[]:o.split(/\s+/));l.co=s.o,l.cr=s.n;var c="",d=t.match(/\s+/g);null==d?d=["\n"]:d.push("\n");var h=e.match(/\s+/g);if(null==h?h=["\n"]:h.push("\n"),0==l.n.length)for(var u=0;u";null==l.co[u].text&&(f=""+f+""),c+=f}else{if(null==l.n[0].text)for(e=0;e"+i(l.o[e])+d[e]+"",null==l.co[e].text&&(f=""+f+""),c+=f;for(u=0;u"+i(l.n[u])+h[u]+"";else{var g="";for(e=l.n[u].row+1;e"+i(l.o[e])+d[e]+"",null==l.co[e].text&&(f=""+f+""),g+=f;f=""+l.n[u].text+"",null==l.co[l.n[u].row].text&&(f=""+f+""),c+=" "+f+h[u]+g}}return c}},65:function(t,e,n){n(66),t.exports=n(229)},66:function(t,e,n){"use strict";n(67),n(227)},67:function(t,e,n){"use strict";(function(t,e){var i=w(n(27)),a=w(n(53)),r=m(n(99)),o=w(n(105));n(106);var l=w(n(107)),s=w(n(56)),c=w(n(110)),d=w(n(111)),h=n(112),u=w(n(122)),f=n(0);n(208);var g=w(n(209));w(n(213));n(214),n(215);var p=n(25),v=m(n(63));function m(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function w(t){return t&&t.__esModule?t:{default:t}}n(223),n(224),n(225),n(226),window.StickySidebar=d.default,window.ResizeSensor=c.default,e.jQuery=e.$=window.$=t,window.jspreadsheet=s.default,window.uuidv4=h.v4,window.Swiper=u.default,window.Plyr=o.default,window.iFrameResize=iFrameResize,t(document).on("click",".notification > button.delete",function(){return t(this).parent().addClass("is-hidden"),!1}),t.ajaxSetup({beforeSend:function(t,e){/^(GET|HEAD|OPTIONS|TRACE)$/i.test(e.type)||this.crossDomain||t.setRequestHeader("X-CSRFToken",window.csrf_token)}}),t.valHooks.textarea={get:function(t){return t.value.replace(/\r?\n/g,"\r\n")}};var b=/iPad|iPhone|iPod/.test(navigator.userAgent)||navigator.userAgent.includes("Macintosh")&&"ontouchend"in document,y=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),x=(/Chrome/.test(navigator.userAgent)&&/Edg|OPR/.test(navigator.userAgent),/Edg/.test(navigator.userAgent),navigator.platform.startsWith("Win"),/Android/i.test(navigator.userAgent));window.isSafari=y,window.isIOS=b,window.stripSafeHTML=function(t){var e=document.createElement("div");return e.innerHTML=t,e.textContent||e.innerText||""};function k(t,e,n){var i=new RegExp("([?&])"+e+"=.*?(&|$)","i"),a=-1!==t.indexOf("?")?"&":"?";return t.match(i)?t.replace(i,"$1"+e+"="+n+"$2"):t+a+e+"="+n}window.generate_qs=function(t){var e=[];for(var n in t)n&&t.hasOwnProperty(n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e.join("&")},window.mobileAndTabletCheck=function(){var t,e=!1;return t=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4)))&&(e=!0),e};var C=function(e,n,i,r,o,l){null!==r&&void 0!==r||(r=function(t,e){return null!=e&&alert(e.responseText),!1});o=void 0===o||null===o?{}:o;var s={url:e,type:n,data:i=i||{},headers:o,success:function(t){r(t,null)},error:function(t){r(null,t)}};if("object"===(void 0===i?"undefined":(0,a.default)(i)))try{s.data=t.param(i,!0)}catch(t){s.processData=!1,s.contentType=!1}!0===l&&(s.contentType="application/json",s.dataType="json",s.data=JSON.stringify(i)),t.ajax(s)};window.split_sentences=function(t){return g.default.sentences(t,{newline_boundaries:!1,html_boundaries:!1,sanitize:!0,allowed_tags:!1,preserve_whitespace:!1,abbreviations:null})},window.load_jqform=function(e,n){var i=e.getAttribute("data-jqform"),a=JSON.parse(i.replace(/\\n/g,"\\n").replace(/\\'/g,"\\'").replace(/\\"/g,'\\"').replace(/\\&/g,"\\&").replace(/\\r/g,"\\r").replace(/\\t/g,"\\t").replace(/\\b/g,"\\b").replace(/\\f/g,"\\f").replace(/[\u0000-\u0019]+/g,"")),r=t(n);for(var o in a)if(a.hasOwnProperty(o)){var l=a[o];r.find('[name="'+o+'"]').val(l)}},window.load_jqdiv=function(e,n,i){t(e).attr(n,i)},window.load_jqhtml=function(e,n,i,a,r,o,l){var s=t(e),c=(a=s.attr("data-href")||a,null),d="true"==s.attr("no-jqform");r=r||!1,o=o||null;a&&((c=n?t(n):s).html(""),o&&c.closest(".modal").one("callback",o),t.get(a,function(e){var n=t(e);c.html(n),l&&l(),d||n.find("form").addClass("jqform"),r&&n.find("form").attr("data-noreload","true"),i&&(0,f.each)(i,function(t,e){n.find("form").attr(t,e)}),n.find(".ckeditor").length&&CKEDITOR.replaceAll("ckeditor",{height:500}),n.find(".django-ckeditor").length&&initialiseCKEditor(".django-ckeditor"),n.find(".ckeditoruploadingwidget").length&&initialiseCKEditor(".ckeditoruploadingwidget"),n.find(".jqhtml-loader").length&&n.find(".jqhtml-loader").each(function(t,e){load_jqhtml(e)})}))},window.load_jqiframe=function(e,n,i){var a=t(e),r=a.attr("data-href");r&&(n?t(n):a).html('\n